package com.tensquare.article.client;


import com.tensquare.notice.pojo.Notice;
import entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author wz
 * @company 公司
 * @create 2020-02-18 12:01
 */
@FeignClient("tensquare-notice")
public interface NoticeClient {

    //新增通知
    @PostMapping("notice")
    public Result save(@RequestBody Notice notice);
}
